<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        console.log(typeof 2);
        console.log(typeof '2');
        console.log(typeof true);
        console.log(typeof undefined);
        console.log(typeof null);
        console.log(typeof []);
        console.log(typeof {});
        console.log(typeof function(){});
    </script>
</body>
</html>